﻿using DigitalHealth.PACS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DigitalHealth.PACS.ChatWebSocket.Services
{
    public interface IChatGroupRepository
    {
        void Create(ChatGroup chatGroup);
        void Update(ChatGroup chatGroup);
        void Delete(ChatGroup chatGroup);
        IEnumerable<ChatGroup> GetChatGroup();
        ChatGroup GetChatGroupById(string id);
        IEnumerable<ChatGroup> GetChatGroupByChatUser(ChatUser user);
        bool ChatGroupExists(string id);
    }
}
